package thriftx.core.provider;

import org.apache.thrift.TMultiplexedProcessor;

public class ThirthxServer {

    private int port;

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public ThirthxServer(){
    }

    public void serve(){
      //  TMultiplexedProcessor processor = new TMultiplexedProcessor();
     //   processor.registerProcessor();

/*

        try {
            TServerTransport serverTransport = new TServerSocket(port);
            TServer server = new TSimpleServer(new TServer.Args(serverTransport).processor(processor1));

            System.out.println("Starting the simple server...");
            server.serve();
        } catch (Exception e) {
            e.printStackTrace();
        }
*/

    }

}
